﻿<UserControl x:Class="Nox.Amuse.View.CommandBar"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             mc:Ignorable="d"
             RenderOptions.BitmapScalingMode="HighQuality"
             TextOptions.TextFormattingMode="Display"
             d:DesignHeight="43"
             d:DesignWidth="735">
    <Grid>
        <Menu>
            <MenuItem>
                <MenuItem.Header>
                    <StackPanel Orientation="Horizontal">
                        <Image  Source="/Amuse;component/Images/Play-256.png"
                                Stretch="Uniform"
                                Height="20"
                                Margin="0,0,5,0" />
                        <Label Content="_Connection" />
                    </StackPanel>
                </MenuItem.Header>
                <MenuItem Header="_Properties"
                          IsEnabled="False" />
                <MenuItem Header="_Reconnect"
                          Command="{Binding ReconnectCommand}" />
                <MenuItem Header="_Disconnect"
                          Command="{Binding DisconnectCommand}" />
                <MenuItem Header="_Close"
                          Command="{Binding CloseCommand}" />
                <Separator />
                <MenuItem Header="_Open..."
                          Command="{Binding OpenCommand}" />
                <Separator />
                <MenuItem Header="_Amuse Options"
                          IsEnabled="False" />
                <!--<MenuItem Header="_Test Connection"
                          Command="{Binding TestConnectCommand}" />-->
                <Separator />
                <MenuItem Header="E_xit Amuse"
                          Command="{Binding ExitCommand}" />
            </MenuItem>
            <MenuItem>
                <MenuItem.Header>
                    <StackPanel Orientation="Horizontal">
                        <Label Content="_View"
                               IsEnabled="False" />
                    </StackPanel>
                </MenuItem.Header>
            </MenuItem>
            <MenuItem>
                <MenuItem.Header>
                    <StackPanel Orientation="Horizontal">
                        <Label Content="_Log"
                               IsEnabled="False" />
                    </StackPanel>
                </MenuItem.Header>
            </MenuItem>
            <MenuItem>
                <MenuItem.Header>
                    <StackPanel Orientation="Horizontal">
                        <Image  Source="/Amuse;component/Images/Help_1_48.png"
                                Stretch="Uniform"
                                Height="20"
                                Margin="0,0,5,0" />
                        <Label Content="_Help" />
                    </StackPanel>
                </MenuItem.Header>
                <MenuItem Header="Check for _Updates"
                          Command="{Binding DisplayManualUpdateUI}">
                    <MenuItem.Icon>
                        <Image RenderOptions.BitmapScalingMode="HighQuality"
                               Width="20"
                               Stretch="Uniform"
                               Source="/Amuse;component/Images/update_circle_256.png" />
                    </MenuItem.Icon>
                </MenuItem>
                <Separator />
                <MenuItem Header="_About"
                          Command="{Binding DisplayAboutBoxCommand}" />
            </MenuItem>
        </Menu>
    </Grid>
</UserControl>
